// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once

#include "targetver.h"

#include <stdio.h>
#include <tchar.h>
#include <map>
#include <vector>
#include <cassert>
#include <string>
#include <cstdlib>
#include <new>


#include <Windows.h>
#include <xnamath.h>

#include "Logger.h"

typedef unsigned int uint;
typedef unsigned char byte;
typedef unsigned short ushort;

#define OVERRIDE_NEW_DELETE_WITH_ALIGNMENT(alignment)		\
	void* operator new (size_t size)						\
	{														\
		void * p = _aligned_malloc(size, alignment);		\
		if (p == 0) LOG("ACHTUNG!!! OUT OF MEMORY!!!");		\
		return p;											\
	}														\
	void operator delete (void *p)							\
	{														\
		_aligned_free(p);									\
	}

// TODO: reference additional headers your program requires here
